math/rand.Rand.src (field)
9 uses
math/rand (current package)
rand.go#L63: src Source
rand.go#L80: return &Rand{src: src, s64: s64}
rand.go#L86: if lk, ok := r.src.(*lockedSource); ok {
rand.go#L91: r.src.Seed(seed)
rand.go#L96: func (r *Rand) Int63() int64 { return r.src.Int63() }
rand.go#L273: switch src := r.src.(type) {
rand.go#L279: return read(p, r.src, &r.readVal, &r.readPos)
rand.go#L331: src: &fastSource{},
rand.go#L399: if _, ok := orig.src.(*lockedSource); ok {
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |